#!/usr/bin/env bash

export $(grep -v '^#' /etc/environment | xargs)
export DEBIAN_FRONTEND=noninteractive

apt-get update
apt-get install python3-pip docker.io -y
pip3 install pytest requests pyyaml sh
# Attempting to address https://forum.snapcraft.io/t/lxd-refresh-cause-container-socket-error/8698
# if core is to be installed by microk8s it fails
snap install core20 | true
